package com.ruoyi.supplier.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.util.Date;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * AT transaction mode undo table对象 undo_log
 *
 * @author ruoyi
 * @date 2023-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("undo_log")
public class UndoLog extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * branch transaction id
     */
    private Long branchId;
    /**
     * global transaction id
     */
    private String xid;
    /**
     * undo_log context,such as serialization
     */
    private String context;
    /**
     * rollback info
     */
    private String rollbackInfo;
    /**
     * 0:normal status,1:defense status
     */
    private Long logStatus;
    /**
     * create datetime
     */
    private Date logCreated;
    /**
     * modify datetime
     */
    private Date logModified;

}
